Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ListBase<T> Class / Remove Method
The object to remove from the ListBase<T>.


In This Topic
Remove Method (ListBase<T>)
In This Topic
Removes the first occurrence of a specific object from the ListBase<T>.
Syntax
'Declaration
 
Public Function Remove( _
   ByVal item As T _
) As Boolean
 
'Usage
 
Dim instance As ListBase(Of T)
Dim item As T
Dim value As Boolean
 
value = instance.Remove(item)

Parameters

item
The object to remove from the ListBase<T>.

Return Value

true if item was successfully removed from the ListBase<T>; otherwise, false. This method also returns false if item is not found in the original ListBase<T>.
See Also